package net.homelinux.ajay.net.ondisk.model.client;



public abstract class MetaFactory {
  
  private static MetaFactory factory;

  public static void setInstance(MetaFactory fac){
    factory = fac;
  }
  
  public static MetaFactory getInstance(){
    return factory;
  }

  public abstract Link getMeta(String url);
  
  static{
    initMetaFactory();
  }

  private static void initMetaFactory() {
    setInstance(new HttpHeadMetaFactory());
  }

}
